package ma.xin.shi.configurations.Service;

import java.util.ArrayList;
import java.util.List;

public class ServiceMethodConfig {
	/* for test start */
	private String RPCType;
	/* for test end */

	private String RPCName;
    private String RPCSpecificType;
    private int RPCMethodId;
    private String RPCProtocol;
    
    private String InputParameter;
    private String OutputParameter;
    private String FireForgetFlg;

    private List<String> sList = new ArrayList<>();
    private List<String> cList = new ArrayList<>();

    /* for test start */
    public String getRPCType() {
        return RPCType;
    }

    public void setRPCType(String type) {
        this.RPCType = type;
    }
    /* for test end */

    public String getMethodName() {
        return RPCName;
    }

    public void setMethodName(String methodName) {
        this.RPCName = methodName;
    }

    public String getRPCSpecificType() {
        return RPCSpecificType;
    }

    public void setRPCSpecificType(String RPCSpecificType) {
        this.RPCSpecificType = RPCSpecificType;
    }    

    public int getMethodId() {
    	return RPCMethodId;
    }

    public void setMethodId(int mId) {
        this.RPCMethodId = mId;
    }

    public String getRPCProtocol() {
        return RPCProtocol;
    }

    public void setRPCProtocol(String RPCProtocol) {
        this.RPCProtocol = RPCProtocol;
    }

    public String getInputPara() {
        return InputParameter;
    }

    public void setInputPara(String para) {
        this.InputParameter = para;
    }

    public String getOutputPara() {
        return OutputParameter;
    }

    public void setOutputPara(String para) {
        this.OutputParameter = para;
    }

    public String getFFFlag() {
        return FireForgetFlg;
    }

    public void setFFFlag(String flg) {
        this.FireForgetFlg = flg;
    }

    public List<String> getsList() { return sList; }
    public void setsList(List<String> sList) { this.sList = sList != null ? sList : new ArrayList<>(); }

    public List<String> getcList() { return cList; }
    public void setcList(List<String> cList) { this.cList = cList != null ? cList : new ArrayList<>(); }

}
